.version 49 0 
.class public super com/liquid_technologies/ltxmllib18/JsonReaderToXmlHandler 
.super java/lang/Object 
.implements com/liquid_technologies/ltxmllib18/e 
.field private a Lcom/liquid_technologies/ltxmllib18/XmlTextWriter; 
.field private b Lcom/liquid_technologies/ltxmllib18/JsonRoundTrip; 
.field private c Lcom/liquid_technologies/ltxmllib18/d; 
.field private d Ljava/util/Stack; .fieldattributes 
    .signature Ljava/util/Stack<Ljava/lang/String;>; 
.end fieldattributes 
.field private e Ljava/util/Stack; .fieldattributes 
    .signature Ljava/util/Stack<Ljava/lang/String;>; 
.end fieldattributes 
.field private f Ljava/lang/String; 
.field private g Z 
.field private h Z 

.method <init> : (Lcom/liquid_technologies/ltxmllib18/XmlTextWriter;Lcom/liquid_technologies/ltxmllib18/JsonRoundTrip;Lcom/liquid_technologies/ltxmllib18/d;)V 
    .code stack 2 locals 4 
L0:     aload_0 
L1:     invokespecial Method java/lang/Object <init> ()V 
L4:     aload_0 
L5:     aload_1 
L6:     putfield Field com/liquid_technologies/ltxmllib18/JsonReaderToXmlHandler a Lcom/liquid_technologies/ltxmllib18/XmlTextWriter; 
L9:     aload_0 
L10:    aload_2 
L11:    putfield Field com/liquid_technologies/ltxmllib18/JsonReaderToXmlHandler b Lcom/liquid_technologies/ltxmllib18/JsonRoundTrip; 
L14:    aload_0 
L15:    aload_3 
L16:    putfield Field com/liquid_technologies/ltxmllib18/JsonReaderToXmlHandler c Lcom/liquid_technologies/ltxmllib18/d; 
L19:    return 
L20:    
    .end code 
.end method 

.method public readBool : (Z)V 
    .code stack 2 locals 2 
L0:     aload_0 
L1:     iload_1 
L2:     ifeq L10 
L5:     ldc 'true' 
L7:     goto L12 
L10:    ldc 'false' 
L12:    invokespecial Method com/liquid_technologies/ltxmllib18/JsonReaderToXmlHandler b (Ljava/lang/String;)V 
L15:    return 
L16:    
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtException java/io/IOException 
.end method 

.method public readEndArray : ()V 
    .code stack 1 locals 1 
L0:     aload_0 
L1:     getfield Field com/liquid_technologies/ltxmllib18/JsonReaderToXmlHandler e Ljava/util/Stack; 
L4:     invokevirtual Method java/util/Stack pop ()Ljava/lang/Object; 
L7:     pop 
L8:     return 
L9:     
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtException java/io/IOException 
.end method 

.method public readEndDocument : ()V 
    .code stack 1 locals 1 
L0:     aload_0 
L1:     getfield Field com/liquid_technologies/ltxmllib18/JsonReaderToXmlHandler a Lcom/liquid_technologies/ltxmllib18/XmlTextWriter; 
L4:     invokevirtual Method com/liquid_technologies/ltxmllib18/XmlTextWriter writeEndDocument ()V 
L7:     return 
L8:     
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtException java/io/IOException 
.end method 

.method public readEndObject : ()V 
    .code stack 2 locals 1 
L0:     aload_0 
L1:     getfield Field com/liquid_technologies/ltxmllib18/JsonReaderToXmlHandler h Z 
L4:     ifne L11 
L7:     aload_0 
L8:     invokespecial Method com/liquid_technologies/ltxmllib18/JsonReaderToXmlHandler a ()V 
L11:    aload_0 
L12:    iconst_0 
L13:    putfield Field com/liquid_technologies/ltxmllib18/JsonReaderToXmlHandler h Z 
L16:    return 
L17:    
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtException java/io/IOException 
.end method 

.method public readName : (Ljava/lang/String;)V 
    .code stack 4 locals 3 
L0:     aload_1 
L1:     ifnull L11 
L4:     aload_1 
L5:     invokevirtual Method java/lang/String length ()I 
L8:     ifne L28 
L11:    new com/liquid_technologies/ltxmllib18/exceptions/LtValidationException 
L14:    dup 
L15:    ldc 'JSON item has an empty Name.' 
L17:    aload_0 
L18:    getfield Field [c15] c Lcom/liquid_technologies/ltxmllib18/d; 
L21:    invokevirtual Method com/liquid_technologies/ltxmllib18/d a ()Ljava/lang/String; 
L24:    invokespecial Method com/liquid_technologies/ltxmllib18/exceptions/LtValidationException <init> (Ljava/lang/String;Ljava/lang/String;)V 
L27:    athrow 
L28:    aload_0 
L29:    getfield Field [c15] b Lcom/liquid_technologies/ltxmllib18/JsonRoundTrip; 
L32:    getstatic Field com/liquid_technologies/ltxmllib18/JsonRoundTrip None Lcom/liquid_technologies/ltxmllib18/JsonRoundTrip; 
L35:    if_acmpeq L58 
L38:    aload_1 
L39:    ldc '#text' 
L41:    invokevirtual Method java/lang/String equals (Ljava/lang/Object;)Z 
L44:    ifeq L58 
L47:    aload_0 
L48:    iconst_1 
L49:    putfield Field [c15] h Z 
L52:    aload_0 
L53:    iconst_0 
L54:    putfield Field [c15] g Z 
L57:    return 
L58:    aload_0 
L59:    getfield Field [c15] b Lcom/liquid_technologies/ltxmllib18/JsonRoundTrip; 
L62:    getstatic Field com/liquid_technologies/ltxmllib18/JsonRoundTrip None Lcom/liquid_technologies/ltxmllib18/JsonRoundTrip; 
L65:    if_acmpeq L101 
L68:    aload_1 
L69:    iconst_0 
L70:    invokevirtual Method java/lang/String charAt (I)C 
L73:    bipush 64 
L75:    if_icmpne L101 
L78:    aload_0 
L79:    aload_1 
L80:    iconst_1 
L81:    aload_1 
L82:    invokevirtual Method java/lang/String length ()I 
L85:    invokevirtual Method java/lang/String substring (II)Ljava/lang/String; 
L88:    astore_2 
L89:    dup 
L90:    astore_1 
L91:    iconst_1 
L92:    putfield Field [c15] g Z 
L95:    aload_1 
L96:    aload_2 
L97:    putfield Field [c15] f Ljava/lang/String; 
L100:   return 
L101:   aload_0 
L102:   aload_1 
L103:   invokespecial Method [c15] a (Ljava/lang/String;)V 
L106:   return 
L107:   
        .linenumbertable 
            L0 0 
            L90 1000 
            L100 0 
        .end linenumbertable 
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtException java/io/IOException 
.end method 

.method public readNull : ()V 
    .code stack 1 locals 1 
L0:     aload_0 
L1:     invokespecial Method [c15] a ()V 
L4:     return 
L5:     
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtException java/io/IOException 
.end method 

.method public readNumber : (Ljava/lang/String;)V 
    .code stack 2 locals 2 
L0:     aload_0 
L1:     aload_1 
L2:     invokespecial Method [c15] b (Ljava/lang/String;)V 
L5:     return 
L6:     
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtException java/io/IOException 
.end method 

.method public readStartArray : ()V 
    .code stack 4 locals 1 
L0:     aload_0 
L1:     getfield Field [c15] f Ljava/lang/String; 
L4:     ifnonnull L24 
L7:     new com/liquid_technologies/ltxmllib18/exceptions/LtValidationException 
L10:    dup 
L11:    ldc 'JSON Array has no Name.' 
L13:    aload_0 
L14:    getfield Field [c15] c Lcom/liquid_technologies/ltxmllib18/d; 
L17:    invokevirtual Method com/liquid_technologies/ltxmllib18/d a ()Ljava/lang/String; 
L20:    invokespecial Method com/liquid_technologies/ltxmllib18/exceptions/LtValidationException <init> (Ljava/lang/String;Ljava/lang/String;)V 
L23:    athrow 
L24:    aload_0 
L25:    getfield Field [c15] e Ljava/util/Stack; 
L28:    aload_0 
L29:    getfield Field [c15] f Ljava/lang/String; 
L32:    invokevirtual Method java/util/Stack push (Ljava/lang/Object;)Ljava/lang/Object; 
L35:    pop 
L36:    return 
L37:    
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtException java/io/IOException 
.end method 

.method public readStartDocument : ()V 
    .code stack 3 locals 1 
L0:     aload_0 
L1:     new java/util/Stack 
L4:     dup 
L5:     invokespecial Method java/util/Stack <init> ()V 
L8:     putfield Field [c15] d Ljava/util/Stack; 
L11:    aload_0 
L12:    new java/util/Stack 
L15:    dup 
L16:    invokespecial Method java/util/Stack <init> ()V 
L19:    putfield Field [c15] e Ljava/util/Stack; 
L22:    aload_0 
L23:    getfield Field [c15] a Lcom/liquid_technologies/ltxmllib18/XmlTextWriter; 
L26:    getstatic Field com/liquid_technologies/ltxmllib18/Encoding UTF8 Lcom/liquid_technologies/ltxmllib18/Encoding; 
L29:    invokevirtual Method com/liquid_technologies/ltxmllib18/XmlTextWriter writeStartDocument (Lcom/liquid_technologies/ltxmllib18/Encoding;)V 
L32:    return 
L33:    
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtException java/io/IOException 
.end method 

.method public readStartObject : ()V 
    .code stack 2 locals 1 
L0:     aload_0 
L1:     getfield Field [c15] f Ljava/lang/String; 
L4:     ifnonnull L31 
L7:     aload_0 
L8:     getfield Field [c15] e Ljava/util/Stack; 
L11:    invokevirtual Method java/util/Stack size ()I 
L14:    ifle L31 
L17:    aload_0 
L18:    aload_0 
L19:    getfield Field [c15] e Ljava/util/Stack; 
L22:    invokevirtual Method java/util/Stack peek ()Ljava/lang/Object; 
L25:    checkcast java/lang/String 
L28:    invokespecial Method [c15] a (Ljava/lang/String;)V 
L31:    return 
L32:    
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtException java/io/IOException 
.end method 

.method public readString : (Ljava/lang/String;)V 
    .code stack 2 locals 2 
L0:     aload_0 
L1:     aload_1 
L2:     invokespecial Method [c15] b (Ljava/lang/String;)V 
L5:     return 
L6:     
    .end code 
    .exceptions [c20] java/io/IOException 
.end method 

.method private a : (Ljava/lang/String;)V 
    .code stack 5 locals 2 
L0:     aload_0 
L1:     iconst_0 
L2:     putfield Field [c15] g Z 
L5:     aload_0 
L6:     aload_1 
L7:     putfield Field [c15] f Ljava/lang/String; 
L10:    aload_0 
L11:    getfield Field [c15] d Ljava/util/Stack; 
L14:    aload_1 
L15:    invokevirtual Method java/util/Stack push (Ljava/lang/Object;)Ljava/lang/Object; 
L18:    pop 
        .catch java/lang/Exception from L19 to L29 using L30 
L19:    aload_0 
L20:    getfield Field [c15] a Lcom/liquid_technologies/ltxmllib18/XmlTextWriter; 
L23:    aload_1 
L24:    ldc '' 
L26:    invokevirtual Method com/liquid_technologies/ltxmllib18/XmlTextWriter writeStartElement (Ljava/lang/String;Ljava/lang/String;)V 
L29:    return 
L30:    pop 
L31:    new com/liquid_technologies/ltxmllib18/exceptions/LtInvalidStateException 
L34:    dup 
L35:    new java/lang/StringBuilder 
L38:    dup 
L39:    ldc "Failed to convert name '" 
L41:    invokespecial Method java/lang/StringBuilder <init> (Ljava/lang/String;)V 
L44:    aload_1 
L45:    invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L48:    ldc "}' to Element name in XML." 
L50:    invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L53:    invokevirtual Method java/lang/StringBuilder toString ()Ljava/lang/String; 
L56:    invokespecial Method com/liquid_technologies/ltxmllib18/exceptions/LtInvalidStateException <init> (Ljava/lang/String;)V 
L59:    athrow 
L60:    
    .end code 
    .exceptions [c20] java/io/IOException 
.end method 

.method private b : (Ljava/lang/String;)V 
    .code stack 5 locals 2 
        .catch java/lang/Exception from L0 to L39 using L42 
L0:     aload_0 
L1:     getfield Field [c15] g Z 
L4:     ifeq L27 
L7:     aload_0 
L8:     getfield Field [c15] a Lcom/liquid_technologies/ltxmllib18/XmlTextWriter; 
L11:    aload_0 
L12:    getfield Field [c15] f Ljava/lang/String; 
L15:    ldc '' 
L17:    aload_1 
L18:    getstatic Field com/liquid_technologies/ltxmllib18/Conversions$ConversionType TYPE_STRING Lcom/liquid_technologies/ltxmllib18/Conversions$ConversionType; 
L21:    invokevirtual Method com/liquid_technologies/ltxmllib18/XmlTextWriter writeAttributeString (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/liquid_technologies/ltxmllib18/Conversions$ConversionType;)V 
L24:    goto L108 
L27:    aload_0 
L28:    getfield Field [c15] a Lcom/liquid_technologies/ltxmllib18/XmlTextWriter; 
L31:    aload_1 
L32:    getstatic Field com/liquid_technologies/ltxmllib18/Conversions$ConversionType TYPE_STRING Lcom/liquid_technologies/ltxmllib18/Conversions$ConversionType; 
L35:    iconst_0 
L36:    invokevirtual Method com/liquid_technologies/ltxmllib18/XmlTextWriter writeString (Ljava/lang/String;Lcom/liquid_technologies/ltxmllib18/Conversions$ConversionType;Z)V 
L39:    goto L108 
L42:    pop 
L43:    aload_0 
L44:    getfield Field [c15] g Z 
L47:    ifeq L79 
L50:    new com/liquid_technologies/ltxmllib18/exceptions/LtInvalidStateException 
L53:    dup 
L54:    new java/lang/StringBuilder 
L57:    dup 
L58:    ldc "Failed to convert value '" 
L60:    invokespecial Method java/lang/StringBuilder <init> (Ljava/lang/String;)V 
L63:    aload_1 
L64:    invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L67:    ldc "' to Attribute string value in XML." 
L69:    invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L72:    invokevirtual Method java/lang/StringBuilder toString ()Ljava/lang/String; 
L75:    invokespecial Method com/liquid_technologies/ltxmllib18/exceptions/LtInvalidStateException <init> (Ljava/lang/String;)V 
L78:    athrow 
L79:    new com/liquid_technologies/ltxmllib18/exceptions/LtInvalidStateException 
L82:    dup 
L83:    new java/lang/StringBuilder 
L86:    dup 
L87:    ldc "Failed to convert value '" 
L89:    invokespecial Method java/lang/StringBuilder <init> (Ljava/lang/String;)V 
L92:    aload_1 
L93:    invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L96:    ldc "' to Element string value in XML." 
L98:    invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L101:   invokevirtual Method java/lang/StringBuilder toString ()Ljava/lang/String; 
L104:   invokespecial Method com/liquid_technologies/ltxmllib18/exceptions/LtInvalidStateException <init> (Ljava/lang/String;)V 
L107:   athrow 
L108:   aload_0 
L109:   invokespecial Method [c15] a ()V 
L112:   return 
L113:   
    .end code 
    .exceptions [c20] java/io/IOException 
.end method 

.method private a : ()V 
    .code stack 2 locals 1 
L0:     aload_0 
L1:     aconst_null 
L2:     putfield Field [c15] f Ljava/lang/String; 
L5:     aload_0 
L6:     getfield Field [c15] g Z 
L9:     ifne L37 
L12:    aload_0 
L13:    getfield Field [c15] d Ljava/util/Stack; 
L16:    invokevirtual Method java/util/Stack size ()I 
L19:    ifle L37 
L22:    aload_0 
L23:    getfield Field [c15] d Ljava/util/Stack; 
L26:    invokevirtual Method java/util/Stack pop ()Ljava/lang/Object; 
L29:    pop 
L30:    aload_0 
L31:    getfield Field [c15] a Lcom/liquid_technologies/ltxmllib18/XmlTextWriter; 
L34:    invokevirtual Method com/liquid_technologies/ltxmllib18/XmlTextWriter writeEndElement ()V 
L37:    return 
L38:    
    .end code 
    .exceptions java/io/IOException 
.end method 
.innerclasses 
    com/liquid_technologies/ltxmllib18/Conversions$ConversionType com/liquid_technologies/ltxmllib18/Conversions ConversionType public static final enum 
.end innerclasses 
.const [c15] = Class [u150] 
.const [c20] = Class [u155] 
.const [u150] = Utf8 com/liquid_technologies/ltxmllib18/JsonReaderToXmlHandler 
.const [u155] = Utf8 com/liquid_technologies/ltxmllib18/exceptions/LtException 
.end class 
